package demo01;

public class demo3 {
    public static void main(String[] args) {
    String a="123";
    int b = 123;
    System.out.println(a+b);
    System.out.println(1+99+a);
    System.out.println(3.7+"abc");
    System.out.println("abc"+true);
    System.out.println("中"+"abc"+true);
        int age = 18;
        System.out.println("我的年龄：" + age + "岁");
        System.out.println(1+2+"abc" + 1+2);
        char c = 'a';
        int result = c + 0;
        System.out.println(result);
        System.out.println('a'+"abc");

        int i = 10;
        i++;
        System.out.println(i);
        int j = ++i;
        System.out.println("j="+j);
        j= i--;
        System.out.println("j="+j);
        System.out.println("i="+i);

    }
}
